package com.hifar.test.report.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hifar.test.api.model.ReportApiResultVO;
import com.hifar.test.report.pojo.HfEnvReport;
import com.hifar.test.report.pojo.VO.HfEnvReportVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhuWeiWei
 * @description: 环境报告
 * @date 2024/12/26 13:43
 */
@Mapper
public interface HfEnvReportMapper extends BaseMapper<HfEnvReport> {
    /**
     * 分页查询报告列表
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    Page<HfEnvReportVO> pageVO(Page page, @Param(Constants.WRAPPER) QueryWrapper<HfEnvReportVO> queryWrapper);

    /**
     * 查询报告列表
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    Page<ReportApiResultVO> pageApiVO(Page page, @Param(Constants.WRAPPER) QueryWrapper<ReportApiResultVO> queryWrapper);
}
